using System;

namespace GameFramework.Event
{
    /// <summary>
    /// 绑定事件标记 用于将EventArgs的派生类与事件名进行绑定
    /// </summary>
    [AttributeUsage(AttributeTargets.Class)]
    public sealed class BindEventAttribute : Attribute
    {
        public string EventName { get; }

        public BindEventAttribute(string eventName)
        {
            EventName = eventName;
        }
    }
}